package com.me.study.app.rvRichEditor.provider

import com.chad.library.adapter.base.provider.BaseItemProvider
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.me.study.R
import com.me.study.app.data.RichEditorType
import com.me.study.app.rvRichEditor.RichEditorData

/**
 *create author : FZW
 *create date  : 2024/9/18
 */
class RichEditorTestProvider : BaseItemProvider<RichEditorData>() {

    override val itemViewType = RichEditorType.TEST.VALUE

    override val layoutId = R.layout.peovider_rich_editor_test

    override fun convert(helper: BaseViewHolder, item: RichEditorData) {
        helper.setText(R.id.tv_content, item.s1)
    }
}